﻿using Dapper;
using System;

namespace HDLogCenter.Infrastructure.Models
{
    [Table("app_config")]
    public class AppConfigModel
    {
        [Key]
        [Column("id")]
        public long Id { get; set; }

        [Column("app_code")]
        public string AppCode { get; set; } = string.Empty;

        [Column("app_name")]
        public string AppName { get; set; } = string.Empty;

        [Column("description")]
        public string Description { get; set; }

        [Column("notify_webhook")]
        public string NotifyWebhook { get; set; }

        [Column("notify_phone")]
        public string NotifyPhone { get; set; }

        [Column("status")]
        public int Status { get; set; }

        [Column("create_time")]
        public DateTime CreateTime { get; set; }

        [Column("update_time")]
        public DateTime UpdateTime { get; set; }
    }
}
